home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000217-20000824
/
000022_news@columbia.edu _Sat Feb 19 02:10:13 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA14338
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 19 Feb 2000 02:10:13 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA16815
for kermit.misc@watsun.cc.columbia.edu; Sat, 19 Feb 2000 01:42:08 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: gedau@isa.mim.com.au (George Dau)
Subject: SUMMRY: how to run kermit on tty2 ?
Organization: Mount Isa Mines - Isa Operations
Message-ID: <38ae371e.174718962@158.54.6.109>
Date: Sat, 19 Feb 2000 06:42:17 GMT
To: kermit.misc@columbia.edu
fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
]In article <38ab4350.609457834@158.54.6.109>,
]George Dau <gedau@isa.mim.com.au> wrote:
]: I have a Linux box set up just to be a serial console for a Sun box.
]: I start up kermit to connect to serial A and display the Sun
]: console.
]You can also include the -S ("stay") command-line option so it doesn't
]exit. You can also log the session, etc etc.
]It's an interesting idea. If you have a way of invoking C-Kermit that
]redirects both the standard input and standard output to/from tty1, it
]might work.
]
]Follow up to kermit-support@columbia.edu with details/problems, to spare
]the newsgroup. But if you do get it working, it's worth another posting.
Thanks Frank. The segfaults I reported were my own fault, as I
suspected. I simply upgraded my libc, libm, libcrypt, libresolv and ld
loader and all was well. I'd built the binary on a different
distribution etc etc etc. The stallion card bit fell through, the
owner decided to keep the card, so I never got to install it.
Thanks Fred. I found forktty and it does exactly what I was after. It
was on sunsite.
So now I have a 486, 520Meg disk, 8Meg RAM, no NIC, no CD, just a bare
bones junker that no-one wanted which can serve as a serial console
to two Suns (toggle between them with <alt><f1> and <alt><f2>), but
can also log POST results, Boot Prom results, etc to a file which
can be e-mailed, kept, whatever. Also saved replacing the dumb
terminal that had just failed, and freed up some space in the rack.
In /etc/inittab, I have
c1:1234:once:/usr/bin/forktty -l /dev/tty1 -c "/usr/bin/kermit
/etc/kermit.ttyS0"
c2:1234:once:/usr/bin/forktty -l /dev/tty2 -c "/usr/bin/kermit
/etc/kermit.ttyS1"
and have removed the normal getty's from tty1 and tty2. The files in
/etc/kermit.ttySN just have the "set line" and "conn" commands in
them, nothing spectacular.
--
,-,_|\ George Dau - Unix (Solaris, DEC Unix, Linux), Oracle, Internet. __
/ * \ Home: gedau@pobox.com ! Any views or opinions expressed (OO)
\_,--\_/ Work: gedau@isa.mim.com.au ! above may be mine, but are NOT ( \/ )
v WWW: http://pobox.com/~gedau ! necessarily those of M.I.M. W--W